home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
printer
/
jcosub26.zip
/
BEGINTIM.JSR
< prev
next >
Wrap
Text File
|
1994-01-07
|
533b
|
20 lines
/* JACOsub BEGINTIME command demonstration.
This command changes the begin time for playing a script.
BEGINTIME returns RESULT=0 if successful, or RESULT=1 if the time
string had a bad format, or 2 if there was a resolution conflict.
*/
if ~arg() then do ; say 'Need arguments H:MM:SS.FF and [counts/sec]' ; exit 1 ; end
parse arg starttime secunits .
options results
address 'JACOsub'
'BEGINTIME' starttime secunits
if result > 0 then
say 'error setting begin time'
else
say 'begin time set successfully'
exit result